<?php
defined('ROOTPATH') OR exit('No direct script access allowed');
/**
 * core
 */
final class core
{
    public function __construct()
    {
        //
    }

    public function viewLoad($viewFile, $data = null, $subfix = '.php')
    {
        $viewPath = APP_PATH.'views'.DIRECTORY_SEPARATOR;
        require $viewPath.$viewFile.$subfix;
    }

    public function modelLoad()
    {
        //
    }
}
